package com.hxf.dao.meal.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.hxf.dao.BaseDaoImpl;
import com.hxf.dao.meal.MealStyleDao;
import com.hxf.dto.MealStyleDto;
import com.hxf.exception.DaoLevelException;

@SuppressWarnings("unchecked")
@Repository("mealStyleDao")
public class MealStyleDaoImpl extends BaseDaoImpl implements MealStyleDao {

	@Override
	public List<MealStyleDto> findByMealStyle() throws DaoLevelException {
		return super.findBy("from MealStyleDto");
	}

}
